#include <stdio.h>
const int MAX = 3;
int main ()
{
	int  var[] = {10, 100, 1000};
	int  *ptr;
	ptr = &var[MAX - 1]; /* 指向数组地址 */
	for (int i = MAX; i > 0; i--)
	{
		printf("The address: var[%d] = %p\n", i, ptr );
		printf("The value stored in the address: var[%d] = %d\n", i, *ptr );
		ptr = ptr - 1;/* 指向下一个位置,ptr-- */
	}
	return 0;
}

